<?php
/**
* All dashboard widgets must implement this interface.
*
* IMPORTANT NOTE:
* Widgets (the bundled ones at least) will only be registered when Scribble is
* in the ADMIN environment.
*
* Copyright (c) 2009 James Gauld <james@jamesgauld.net>
* This file is part of Scribble.
* @license http://www.scribblecms.co.uk/license.txt
*
* @package Scribble
*/
interface IScribbleDashboardWidget {

	/**
	* Returns a View that will be rendered in the body of the widget.
	*
	* @return ScribbleAdminView
	*/
	public function getBody();

	/**
	* Return the title of this widget. This is what gets displayed in the header
	* of the widget.
	*
	* @return string
	*/
	public function getTitle();
}
?>